projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd60ed4
)
textview: Make clickable tags work again
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 17 Sep 2020 02:30:58 +0000
(22:30 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 17 Sep 2020 02:30:58 +0000
(22:30 -0400)
We were claiming the clicks too eagerly, preventing
clickable links, e.g. in GtkAboutDialog, from working.
gtk/gtktextview.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextview.c
b/gtk/gtktextview.c
index dc8d3c96822a118138e704e35b7b46af1af3e812..add51f814f1521eda6bb9ff7ae7c8e7d957f4d33 100644
(file)
--- a/
gtk/gtktextview.c
+++ b/
gtk/gtktextview.c
@@
-7466,8
+7466,8
@@
gtk_text_view_start_selection_drag (GtkTextView *text_view,
g_object_set_qdata_full (G_OBJECT (priv->drag_gesture),
quark_text_selection_data,
data, (GDestroyNotify) selection_data_free);
- gtk_gesture_set_state (priv->drag_gesture,
- GTK_EVENT_SEQUENCE_CLAIMED);
+
//
gtk_gesture_set_state (priv->drag_gesture,
+
//
GTK_EVENT_SEQUENCE_CLAIMED);
}
/* returns whether we were really dragging */